package com.antunnel.basicorm.core;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

import com.antunnel.basicorm.widget.pagination.Page;

public abstract interface BaseDao
{
  public abstract void save(Object paramObject);

  public abstract Object update(Object paramObject);

  public abstract void delete(Object paramObject);

  public abstract void delete(Class paramClass, Serializable paramSerializable);

  public abstract Object findById(Class paramClass, Serializable paramSerializable);

  public abstract List findAll(Class paramClass, String paramString, Boolean paramBoolean);

  public abstract List findByPage(Class paramClass, Page paramPage, Map<String, String> paramMap);
}